home *** CD-ROM | disk | FTP | other *** search
- Path: mn5.swip.net!usenet
- From: peter.osterlund@mailbox.swipnet.se (Peter ╓sterlund)
- Newsgroups: comp.sys.amiga.programmer
- Subject: GCC option -D
- Date: 5 Jan 1996 19:47:34 GMT
- Organization: -
- Distribution: world
- Message-ID: <4cjv8m$3ak@mn5.swip.net>
- NNTP-Posting-Host: dialup97-003.swipnet.se
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-NewsSoftware: GRn 2.1 Feb 19, 1994
-
- I would like to do something like
-
- gcc -DX="word1 word2" test.c -o test
-
- The problem is that gcc thinks that the definition of X is X="word1
- and then complains about not understanding word2". Is there a way around
- this problem?
-
- I am using GCC 2.7.0 and the standard amiga shell.
-
- --
-
- Address: Peter ╓sterlund
- Sk÷ndalsvΣgen 35
- S-128 66 Sk÷ndal
- Sweden
-
- Phone: +46 8 942647
- E-mail: f90-pos@nada.kth.se
- peter.osterlund@mailbox.swipnet.se
-
-